package com.gp.mapper;

import java.util.List;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.gp.model.dto.Count;
import com.gp.model.entity.AccessLog;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author 弓成龙
 * @since 2017-11-26
 */
public interface BaseAccessLogsMapper extends BaseMapper<AccessLog> {
  
  /**
   * 查询接口访问量
   * @param page
   * @return
   */
  List<Count> listInterAccessCount(Pagination page);

  int insertAcceessLog(AccessLog entity);

  List<Count> countSiteAccessPV();

  List<Count> countSiteAccessUV();

  List<Count> countBrowser();

}